<?php include APP_PATH . 'tpl/admin/header.php'; ?>
    <h1>删除日志</h1>
    <form action="admin.php?action=delete" method="get">
        <div>
            <label>标题：</label>
            <input name="title" value="<?php echo $details['title']; ?>">
        </div>
        <div>
            <label>分类：</label>
            <select name="catid">
                <option value="1">学习笔记</option>
                <option value="2" selected="selected">个人随想</option>
            </select>
        </div>
        <div>
            <label>内容：</label>
            <textarea name="content" id="editor" style="height: 300px;"><?php echo $details['content']; ?></textarea>
            <script type="text/javascript">
                var ue = UE.getEditor('editor');
            </script>
        </div>
        <div>
            <button type="submit">删除</button>
        </div>

    </form>
<?php include APP_PATH . 'tpl/admin/footer.php'; ?>